package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：商品分类表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Productcategory implements Serializable {

   /**分类ID*/
	private Object categoryId;
   /**分类名称*/
    private String categoryName;
   /**分类编码*/
    private String categoryCode;
   /**父分类ID*/
    private Integer parentId;
   /**分类层级*/
    private Integer categoryLevel;
   /**分类状态*/
    private Integer categoryStatus;
   /**最后修改时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifiedTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    public Productcategory(){}
    
    public Productcategory(Object categoryId,String categoryName,String categoryCode,Integer parentId,Integer categoryLevel,Integer categoryStatus,Date modifiedTime,String other1,String other2){
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.categoryCode = categoryCode;
        this.parentId = parentId;
        this.categoryLevel = categoryLevel;
        this.categoryStatus = categoryStatus;
        this.modifiedTime = modifiedTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取分类ID属性的值*/
	public Object getCategoryId() {
        return this.categoryId;
    }
   /**设置分类ID属性的值*/
    public void setCategoryId(Object categoryId) {
        this.categoryId = categoryId;
    }
   /**获取分类名称属性的值*/
    public String getCategoryName() {
        return this.categoryName;
    }
   /**设置分类名称属性的值*/
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
   /**获取分类编码属性的值*/
    public String getCategoryCode() {
        return this.categoryCode;
    }
   /**设置分类编码属性的值*/
    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }
   /**获取父分类ID属性的值*/
    public Integer getParentId() {
        return this.parentId;
    }
   /**设置父分类ID属性的值*/
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
   /**获取分类层级属性的值*/
    public Integer getCategoryLevel() {
        return this.categoryLevel;
    }
   /**设置分类层级属性的值*/
    public void setCategoryLevel(Integer categoryLevel) {
        this.categoryLevel = categoryLevel;
    }
   /**获取分类状态属性的值*/
    public Integer getCategoryStatus() {
        return this.categoryStatus;
    }
   /**设置分类状态属性的值*/
    public void setCategoryStatus(Integer categoryStatus) {
        this.categoryStatus = categoryStatus;
    }
   /**获取最后修改时间属性的值*/
    public Date getModifiedTime() {
        return this.modifiedTime;
    }
   /**设置最后修改时间属性的值*/
    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
